<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:31:"./public/admin/articleList.html";i:1543992795;s:35:"./public/admin/common/head_css.html";i:1539594859;s:33:"./public/admin/common/header.html";i:1542002142;s:31:"./public/admin/common/left.html";i:1540969360;s:29:"./public/admin/common/JS.html";i:1542093076;}*/ ?>
<!doctype html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title><?php echo $auth_name; ?></title>
    <!-- Mobile Specific Meta -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Favicon-->
    <link rel="shortcut icon" href="/public/static/img/fav.png">
    <!-- Author Meta -->
    <meta name="author" content="colorlib">
    <!-- Meta Description -->
    <meta name="description" content="">
    <!-- Meta Keyword -->
    <meta name="keywords" content="">
    <!-- meta character set -->
    <meta charset="UTF-8">

    <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,400,300,500,600,700" rel="stylesheet">
    <!--
    CSS
    ============================================= -->
    <link rel="stylesheet" href="/public/static/css/linearicons.css">
    <link rel="stylesheet" href="/public/static/css/font-awesome.min.css">
    <!--<link rel="stylesheet" href="/public/static/css/bootstrap.css">-->
    <link rel="stylesheet" href="/public/static/css/owl.carousel.css">
    <link rel="stylesheet" href="/public/static/css/main.css">

    <link rel="stylesheet" type="text/css" href="/public/static/admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/css/main.css"/>
    <link href="/public/static/plug/layui/css/layui.css" rel="stylesheet" />
</head>
<body>

<header class="default-header">
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix" style="background-color: #ffffff">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="#" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li>
                    <a class="navbar-brand" href="index.html">
                        <img src="/public/static/img/logo.png" alt="">
                    </a>
                </li>
                <li><a href="#"  onclick="user_index()" target="_blank">首页</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
                <li><a href="#" onclick="write_blog()">发表</a></li>
                <li><a href="#" onclick="person()">个人中心</a></li>
                <li><a href="#" onclick="logout()">退出</a></li>
                <li>
                    <img src="/<?php echo $admin_info['img']; ?>" style="margin-left: 5px;width: 30px;height: 30px; border-radius: 50%; -moz-border-radius: 50%;-webkit-border-radius: 50%;">
                </li>
                <li style="margin-top: -10px"><font size="1px"><?php echo $admin_info['username']; ?></font></li>
            </ul>
        </div>
    </div>
</div>
</header>
<div class="container clearfix">
    <div class="sidebar-wrap">
    <div class="sidebar-title" >
        <p style="padding-top: 2px;padding-left: 40px" >菜单</p>
    </div>
    <?php if(is_array($auth_infoA) || $auth_infoA instanceof \think\Collection || $auth_infoA instanceof \think\Paginator): $i = 0; $__LIST__ = $auth_infoA;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
    <div class="sidebar-content" >
        <ul class="sidebar-list" style="background-color: #74e1ee">
            <li>
                <a href="#" onclick=expand(<?php echo $v['auth_id']; ?>)><i class="icon-font">&#xe003;</i><?php echo $v['auth_name']; ?></a>
                <?php if(is_array($auth_infoB) || $auth_infoB instanceof \think\Collection || $auth_infoB instanceof \think\Paginator): $i = 0; $__LIST__ = $auth_infoB;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;if($vv['auth_pid'] == $v['auth_id']): ?>
                <ul class="sub-menu">
                    <li>
                        <a href="../<?php echo $vv['auth_c']; ?>/<?php echo $vv['auth_a']; ?>" id="child<?php echo $v['auth_id']; ?>" style="display: none">
                            <i class="icon-font">&#xe008;</i><?php echo $vv['auth_name']; ?></a>
                    </li>
                </ul>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </li>
        </ul>
    </div>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</div>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="index.html">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">作品管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="#" method="post">
                    <table class="search-tab">
                        <tr>
                            <th width="120">选择分类:</th>
                            <td>
                                <select name="search-sort" id="compose_list">
                                    <option value="">全部</option>
                                    <?php if(is_array($write) || $write instanceof \think\Collection || $write instanceof \think\Paginator): $i = 0; $__LIST__ = $write;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$w): $mod = ($i % 2 );++$i;if($w['pid'] == 0 and $w['del'] == 1): ?>
                                    <option value="<?php echo $w['id']; ?>"><?php echo $w['title']; ?></option>
                                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                </select>
                            </td>
                            <th width="70">关键字:</th>
                            <td><input class="common-text" placeholder="关键字" name="keyword" id="keyword" type="text"></td>
                            <td><input class="btn btn-primary btn2" value="查询" id="search" type="submit" lay-submit="" lay-filter="search"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="insert.html"><i class="icon-font"></i>新增作品</a>
                        <a id="batchDel" href="javascript:void(0)" onclick="dels_compose(1)"><i class="icon-font"></i>批量删除</a>
                        <a id="updateOrd" href="javascript:void(0)" onclick="all_status_compose(1)"><i class="icon-font"></i>批量禁用</a>
                        <a id="update" href="javascript:void(0)" onclick="all_status_compose(2)"><i class="icon-font"></i>批量审核</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th class="tc" width="5%"><input class="allChoose" name="" id="allChk" type="checkbox"></th>
                            <th>标题</th>
                            <th>审核状态</th>
                            <th>点击</th>
                            <th>发布人</th>
                            <th>更新时间</th>
                            <th>评论</th>
                            <th>操作</th>
                        </tr>
                        <tbody id="page_list">
                        </tbody>

                    </table>
                    <div id="pages"></div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
<script src="/public/static/js/vendor/jquery-2.2.4.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="/public/static/js/vendor/bootstrap.min.js"></script>
<script src="/public/static/js/jquery.ajaxchimp.min.js"></script>
<script src="/public/static/js/parallax.min.js"></script>
<script src="/public/static/js/owl.carousel.min.js"></script>
<script src="/public/static/js/jquery.magnific-popup.min.js"></script>
<script src="/public/static/js/jquery.sticky.js"></script>
<script src="/public/static/js/main.js"></script>

<script src="/public/static/plug/layui/layui.js" type="text/javascript" charset="utf-8"></script>

<script src="/public/static/js/user/jump.js"></script>
<script src="/public/static/js/user/func.js"></script>
<script src="/public/static/js/user/compose_list.js"></script>
<script src="/public/static/js/user/url.js"></script>

<script src="/public/static/js/common/base64.js"></script>
<script src="/public/static/js/common/json.js"></script>
<script src="/public/static/js/common/md5.js"></script>
<script src="/public/static/js/common/sign.js"></script>
<script>
    var id = $('#compose_list').val();
    var keyword = $('#keyword').val();
    getListPage(url_list.compose_list,id,keyword,1);

    $(function () {
        $('#search').click(function () {
            var id = $('#compose_list').val();
            var keyword =$('#keyword').val();
            getListPage(url_list.compose_list,id,keyword,1);
            return false;
        });
        $('#compose_list').change(function () {
            var id = $('#compose_list').val();
            var keyword =$('#keyword').val();
            getListPage(url_list.compose_list,id,keyword,1);
            return false;
        })
    })
</script>
</html>